
export interface getHosSetListParamsType {
    page: number,
    limit: number,
    hosname?: string,
    hoscode?: string
}

export interface getHosSetListItemType {
    id: number,
    createTime: string,
    updateTime: string,
    isDeleted: number,
    param: object,
    hosname: string,
    hoscode: string,
    apiUrl: string,
    signKey: string,
    contactsName: string,
    contactsPhone: string,
    status: 1 | 0
}

export type getHosSetRecordsType = getHosSetListItemType[]

export interface getHosSetListReturnType {
    records: getHosSetRecordsType,
    total: number,
    size: number,
    current: number,
    orders: any[],
    hitCount: boolean,
    searchCount: boolean,
    pages: number
}

export interface addHosSetParamsType {
    hosname: string,
    hoscode: string,
    apiUrl: string,
    contactsName: string,
    contactsPhone: string,
}

export interface updateHosSetParamsType extends addHosSetParamsType {
    id:string
}